package com.asia5b.a5mall.member.adapter

import android.view.View
import android.widget.ImageView
import android.widget.LinearLayout
import android.widget.TextView
import com.asia5b.a5bmall.same.databinding.GoodsitemHomeBinding
import com.asia5b.a5mall.member.R
import com.asia5b.a5mall.middleware.model.shop.AbsGoodsModel
import com.asia5b.a5mall.middleware.utils.*
import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseDataBindingHolder
import com.chad.library.adapter.base.viewholder.BaseViewHolder

/**
 * Created by zhangyuncai on 2019/12/21.
 */
class MineGuessAdapter(list: ArrayList<AbsGoodsModel>) :
        BaseQuickAdapter<AbsGoodsModel, BaseDataBindingHolder<GoodsitemHomeBinding>>(R.layout.goodsitem_home, list) {

    override fun convert(helper:  BaseDataBindingHolder<GoodsitemHomeBinding>, item: AbsGoodsModel) {
        helper.dataBinding!!.item=item
    }
}